package com.hhp.cloud.shop.admin.common.enums;

import com.hhp.cloud.shop.common.core.base.IBaseEnum;
import lombok.Getter;

/**
 * 性别枚举
 *
 * @author hhp
 * @version 1.0
 * @date 2022-04-11 14:42
 */
public enum GenderEnum implements IBaseEnum<Integer> {

    MALE(1, "男"),
    FEMALE(2, "女"),
    UNKNOWN(0, "未知");

    @Getter
    private Integer value;

    @Getter
    private String label;

    GenderEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
